// DepthZSetupDlg.cpp : implementation file
//

#include "stdafx.h"
#include "stonecutter.h"
#include "DepthZSetupDlg.h"
 
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDepthZSetupDlg dialog


CDepthZSetupDlg::CDepthZSetupDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CDepthZSetupDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDepthZSetupDlg)
	//}}AFX_DATA_INIT
}


void CDepthZSetupDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDepthZSetupDlg)
	DDX_Text(pDX, IDC_Edit_DepthZ_00, m_dHorizontalDepthZ[0]);
	DDV_MinMaxDouble(pDX, m_dHorizontalDepthZ[0], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_10, m_dHorizontalDepthZ[1]);
	DDV_MinMaxDouble(pDX, m_dHorizontalDepthZ[1], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_20, m_dHorizontalDepthZ[2]);
	DDV_MinMaxDouble(pDX, m_dHorizontalDepthZ[2], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_30, m_dHorizontalDepthZ[3]);
	DDV_MinMaxDouble(pDX, m_dHorizontalDepthZ[3], 0., 99999.);

	DDX_Text(pDX, IDC_Edit_DepthZ_01, m_dVerticalDepthZ[0]);
	DDV_MinMaxDouble(pDX, m_dVerticalDepthZ[0], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_11, m_dVerticalDepthZ[1]);
	DDV_MinMaxDouble(pDX, m_dVerticalDepthZ[1], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_21, m_dVerticalDepthZ[2]);
	DDV_MinMaxDouble(pDX, m_dVerticalDepthZ[2], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_31, m_dVerticalDepthZ[3]);
	DDV_MinMaxDouble(pDX, m_dVerticalDepthZ[3], 0., 99999.);

	DDX_Text(pDX, IDC_Edit_DepthZ_02, m_dSlopingDepthZ[0]);
	DDV_MinMaxDouble(pDX, m_dSlopingDepthZ[0], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_12, m_dSlopingDepthZ[1]);
	DDV_MinMaxDouble(pDX, m_dSlopingDepthZ[1], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_22, m_dSlopingDepthZ[2]);
	DDV_MinMaxDouble(pDX, m_dSlopingDepthZ[2], 0., 99999.);
	DDX_Text(pDX, IDC_Edit_DepthZ_32, m_dSlopingDepthZ[3]);
	DDV_MinMaxDouble(pDX, m_dSlopingDepthZ[3], 0., 99999.);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDepthZSetupDlg, CDialog)
	//{{AFX_MSG_MAP(CDepthZSetupDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDepthZSetupDlg message handlers
